/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.src.uniandes.ecos.tsp.creditscore.source;

import java.util.ResourceBundle;

/**
 *
 * @author AndhyMao
 */
public class CreditScoreSource {

    protected static CreditScoreSource creditScoreSource;
    private static ResourceBundle creditScoreSetup;

    public CreditScoreSource() {
        this.creditScoreSetup = ResourceBundle.getBundle("CreditScoreSetup");
    }

    public static CreditScoreSource getInstance() {
        if (creditScoreSource == null) {
            creditScoreSource = new CreditScoreSource();
        }
        return creditScoreSource;
    }

    public String getCreditScoreSetupKey(String key) {
        return creditScoreSetup.getString(key);
    }
}
